<template>
  <div>子组件
    <slot name="head"></slot>
    <slot name="content" :a="10" :msg="msg" :row="{name:'zs', age: 12, id: 1}"></slot>
  </div>
</template>

<script>
export default {
  name: 'Son',
  data () {
    return {
      msg: '今晚的消费由你自己买单'
    }
  }
}
</script>

<style>

</style>
